Northwoods.GoSilverlight 1.3.5 Assembly
NodeKeyIsNodeData Property
See Also  Send Feedback
Northwoods.GoXam.Model Namespace > GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Class : NodeKeyIsNodeData Property

Gets or sets whether all node data are also their own keys.

Syntax

Visual Basic (Declaration) 
Public Property NodeKeyIsNodeData As Boolean
C# 
public bool NodeKeyIsNodeData {get; set;}

Property Value

The default value is false. For this to be set to true, the NodeType type and the NodeKey types must be the same.

Remarks

This is used for model discovery. It is an optimization that avoids the use of an additional hash table mapping NodeKey values to their NodeType data, and permits other optimizations as well. This can often be set to true when "references" to nodes are actually using .NET CLR references (i.e. "pointers") instead of values such as integer, strings, GUIDs et al.

Requirements

See Also

© 2012 All Rights Reserved.